Carbon


GetSysBeepVolume

Header: Sound.h Carbon status: Supported

Determines the current volume of the system alert sound.

OSErr GetSysBeepVolume (
    SInt32 *level
);
Parameter descriptions
level

On return, a pointer to the current volume level of the system alert sound. The values returned in the high and low words of the level parameter range from 0 (silence) to $0100 (full volume).

function result

A result code.

SPECIAL CONSIDERATIONS

You can call this function at interrupt time.

VERSION NOTES

The GetSysBeepVolume function is available only in versions 3.0 and later of the Sound Manager.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)